/**
 * Copyright &copy; 2013-2018 青岛数码人网络科技有限公司   All rights reserved.
 */
package cn.net.ecode.elec.entity;

import org.hibernate.validator.constraints.Length;

import cn.net.ecode.common.persistence.DataEntity;

/**
 * 代理企业-电力交易Entity
 * @author xiaodunshan
 * @version 2019-09-28
 */
public class ElecAgencyDeal extends DataEntity<ElecAgencyDeal> {
	
	private static final long serialVersionUID = 1L;
	private String typeCode;		// 地区类型
	private String btypeName;		// 企业名称
	private String logoImg;		// logo图片
	
	public ElecAgencyDeal() {
		super();
	}

	public ElecAgencyDeal(String id){
		super();
		this.id = id;
	}

	@Length(min=0, max=64, message="地区类型长度不能超过 64 个字符")
	public String getTypeCode() {
		return typeCode;
	}

	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}
	
	@Length(min=0, max=64, message="企业名称长度不能超过 64 个字符")
	public String getBtypeName() {
		return btypeName;
	}

	public void setBtypeName(String btypeName) {
		this.btypeName = btypeName;
	}
	
	@Length(min=0, max=100, message="logo图片长度不能超过 100 个字符")
	public String getLogoImg() {
		return logoImg;
	}

	public void setLogoImg(String logoImg) {
		this.logoImg = logoImg;
	}
	
}